[][src]Crate ruspiro_interrupt_core

Interrupt Core functions

Core functions to enable/disable interupts globally. This is splitted from the ruspiro-interrupt crate to remove circular dependencies between the interrupt crate others (e.g. ruspiro-singleton) crate.

Functions

disable_fiq

globally disable FIQ interrupts from beeing triggered. This function stores the state of the current enabling/disabling of interrupts. If disable is called multiple times after each other this will than ultimately store "disabled" as last state. In this case a previous enabled state (before the multiple calls) is not able to recover with a call to re_enable_fiq.

disable_interrupts

globally disabling interrupts (IRQ/FIQ) from beeing triggered

disable_irq

globally disable IRQ interrupts from beeing triggered. This function stores the state of the current enabling/disabling of interrupts. If disable is called multiple times after each other this will than ultimately store "disabled" as last state. In this case a previous enabled state (before the multiple calls) is not able to recover with a call to re_enable_irq.

enable_fiq

globally enable FIQ interrupts to be triggered

enable_interrupts

globally enabling interrupts (IRQ/FIQ) to be triggered

enable_irq

globally enable IRQ interrupts to be triggered

re_enable_fiq

globally re-enabe FIQ interrupts to be triggered based on the global state that was set before disabling FIQ interrupts wihin the disable_fiq function.

re_enable_interrupts

globally re-enabling interrupts (IRQ/FIQ) to be triggered. This is done based on the global state that was set before the interrupts were disable using the disable_interrupts function.

re_enable_irq

globally re-enabe IRQ interrupts to be triggered based on the global state that was set before disabling IRQ interrupts wihin the disable_irq function.